package com.wjjm.spoonselling.pojo;


public class Cart {
    private Integer orderId;
    private Integer customerId;
    private String name;
    private Integer commodityId;
    private Integer quantity;
    private Double price;
    private String date;

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(Integer commodityId) {
        this.commodityId = commodityId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "Cart{" +
                "orderId=" + orderId +
                ", customerId=" + customerId +
                ", name='" + name + '\'' +
                ", commodityId=" + commodityId +
                ", quantity=" + quantity +
                ", price=" + price +
                ", date='" + date + '\'' +
                '}';
    }
}
